package portal.action.entity;

public class NodeEntity {
	String ip;
	String hostName;
	String groupName;
	String domain;
	public String getIp() {
		return ip;
	}
	public String getHostName() {
		return hostName;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public void setHostName(String hostName) {
		this.hostName = hostName;
		setDomain(hostName);
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public void setDomain(String header){
		domain=header+".cetc.jhhostnode.com";
	}
	public String getDomain(){
		return domain;
	}
}
